package com.ibeetl.cms.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 文件模板
* gen by Spring Boot2 Admin 2019-01-06
*/
public class BTemplate extends BaseEntity{

    //模板ID
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //模板代码

    private String code ;
	
    //模板名称

    private String templatename ;
	
    //模板路径

    private String filepath ;
	
    //创建时间

    private Date createtime ;
	
    //创建用户

    private String createuser ;
	
    //更新时间

    private Date updatetime ;
	
    //更新用户

    private String updateuser ;
	
	/*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)

    private Integer delFlag ;
	
    public BTemplate()
    {
    }

    /**模板ID
    *@return 
    */
    public Integer getId(){
	    return  id;
    }
    /**模板ID
    *@param  id
    */
    public void setId(Integer id){
        this.id = id;
    }

    /**模板代码
    *@return 
    */
    public String getCode(){
	    return  code;
    }
    /**模板代码
    *@param  code
    */
    public void setCode(String code){
        this.code = code;
    }

    /**模板名称
    *@return 
    */
    public String getTemplatename(){
	    return  templatename;
    }
    /**模板名称
    *@param  templatename
    */
    public void setTemplatename(String templatename){
        this.templatename = templatename;
    }

    /**模板路径
    *@return 
    */
    public String getFilepath(){
	    return  filepath;
    }
    /**模板路径
    *@param  filepath
    */
    public void setFilepath(String filepath){
        this.filepath = filepath;
    }

    /**创建时间
    *@return 
    */
    public Date getCreatetime(){
	    return  createtime;
    }
    /**创建时间
    *@param  createtime
    */
    public void setCreatetime(Date createtime){
        this.createtime = createtime;
    }

    /**创建用户
    *@return 
    */
    public String getCreateuser(){
	    return  createuser;
    }
    /**创建用户
    *@param  createuser
    */
    public void setCreateuser(String createuser){
        this.createuser = createuser;
    }

    /**更新时间
    *@return 
    */
    public Date getUpdatetime(){
	    return  updatetime;
    }
    /**更新时间
    *@param  updatetime
    */
    public void setUpdatetime(Date updatetime){
        this.updatetime = updatetime;
    }

    /**更新用户
    *@return 
    */
    public String getUpdateuser(){
	    return  updateuser;
    }
    /**更新用户
    *@param  updateuser
    */
    public void setUpdateuser(String updateuser){
        this.updateuser = updateuser;
    }

    public Integer getDelFlag(){
	    return  delFlag;
    }
    public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
    }


}
